﻿using System;
using System.Collections.Generic;
using Wamm.ApplicationExceptions;
using Wamm.Model.Abstract;

namespace Wamm.Model.Entities {
    public class EventType : IEntity {

        public int Id { get; set; }

        public string Name { get; set; }

        public string AddedBy { get; set; }

        public DateTime Added { get; set; }

        public string LastUpdatedBy { get; set; }

        public DateTime LastUpdated { get; set; }

        public void Validate(IList<RuleViolation> errors) {
            //todo - add call to ValidateEventType
        }

    }
}
